package com.rw.map.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 
 * @author forest
 *
 */
@Component
@FeignClient(name="merchant", fallback = MerchantFallback.class)
public interface MerchantFeignClient {
	
	@GetMapping("/merchant/shop/get/byShopCode")
    String getShopInfo(@RequestParam("shopCode") String shopCode);
	
}
